<?php
/**
 * 用车管理控制器
 * 
 * @category QuickBug
 * @copyright http://www.vquickbug.com
 */
class CarController extends BaseController
{
	/**
	 * 模型
	 *
	 * @var unknown_type
	 */
	private $model;
	
	/**
	 * 自动运行
	 */
	public function init(){
		parent::init();
		if(!$this->is_operator){
			$this->msgbox('您无权限访问',url('index','index'));
		} 
		$this->model = new Model_Car();
		
	}
	
	public function indexAction(){
		$this->view->controller = $this->controller;
	}
	
	public function checkoutAction(){
		$this->view->controller = $this->controller;
	}
	
	public function sumAction(){
		$this->view->controller = $this->controller;
	}
}